package Observing;

import DirectsDB.MenuDirects;
import junit.framework.TestCase;

public class ObservingTest extends TestCase {
	Observing ob=new Observing();
	MenuDirects dirDB= new MenuDirects();
	public void test1() {
		//assertEquals("",ob.returnAllSource(dirDB)[0]);
//		ob.addSource("fff",dirDB);
//		assertEquals("fff",ob.returnAllSource(dirDB)[0]);
//		ob.addSource("abc",dirDB);
//		assertEquals("fff",ob.returnAllSource(dirDB)[0]);
//		assertEquals("abc",ob.returnAllSource(dirDB)[1]);
//		for (int i = 0; i < ob.returnAllSource(dirDB).length; i++){
//			System.out.println(i+" "+ob.returnAllSource(dirDB)[i]);
//		}
	}

	/*public void testDeleteSource() {
		fail("Not yet implemented");
	}

	public void testReturnAllSource() {
		fail("Not yet implemented");
	}*/

}
